import api from '@/libs/request'

/**
 * 快递设置新增/修改
 */
export const doCourierUpdateAndEdit = (customer: string, key: string, secret: string, id?: string) => {
    return api.post('gruul-mall-freight/logistics/settings/edit', { customer, id, key, secret })
}
/**
 * 快递设置信息获取
 */
export const doGetCourierInfo = () => {
    return api.get('gruul-mall-freight/logistics/settings/get')
}
